package com.wbhz;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;


@SpringBootApplication
public class App {
	//负责启动springboot
	public static void main(String[] args) {
		//@SpringBootApplication(exclude=DataSourceAutoConfiguration.class) 由于没有数据库的连接，所以程序启动错误，如果后续配置数据库的连接，(exclude=DataSourceAutoConfiguration.class)需要删除
		//创建应用程序
		SpringApplication application = new SpringApplication(App.class);
		//启动
		application.run(args);

	}

}
